#ifndef TOTP_H
#define TOTP_H
#include "data_display/totpcreatewidnow.h"

namespace totp {
struct TOTP {
	TOTP(const QString& label, const Botan::SymmetricKey& key, const QString& algorithm, int digits, int period);

	std::string generateOTP(std::string_view old_pass);

	std::chrono::system_clock::time_point creation_time;
	QString label;
	Botan::SymmetricKey key;
	QString algorithm;
	int digits;
	int period;
};
}
#endif //TOTP_H
